package com.twetec.cms.model.vo.website;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
 * @author Administrator
 * @title: ColumnGetOneVO
 * @projectName SBProject-CMSServer
 * @description: TODO
 * @date 2021/9/2719:29
 */
@ApiModel
public class ColumnItemVO implements Serializable {

    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(value = "Id", example = "12345646546")
    private Long id;

    /**
     * 栏目名
     */
    @ApiModelProperty(value = "栏目名称", example = "栏目1")
    private String name;

    /**
     * 显示顺序
     */
    @ApiModelProperty(value = "序号", example = "1")
    private Integer sort;

    /**
     * 所属栏目
     */
    @ApiModelProperty(value = "父级栏目名称", example = "关于我们")
    private String parentColumnName;

    /**
     * 栏目类型
     */
    @ApiModelProperty(value = "栏目类型", example = "ghsc")
    private String type;

    /**
     * 是否在导航中显示
     */
    @ApiModelProperty(value = "是否在导航中显示，0不显示，1显示", example = "1")
    private Integer nav;

    /**
     * 栏目编码
     */
    @ApiModelProperty(value = "栏目编码（小写字母和下划线组合）", example = "wzsh_")
    private String encoded;

    /**
     * 栏目模板pc端id
     */
    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(value = "pc端栏目模板id", example = "12345646546")
    private Long pcTemplateId;

    /**
     * 栏目模板h5端名字
     */
    @ApiModelProperty(value = "h5端栏目模板名称", example = "h5端栏目模板")
    private String h5TemplateName = "h5端模板";

    /**
     * 栏目模板PC端名字
     */
    @ApiModelProperty(value = "pc端栏目模板名称", example = "pc端栏目模板")
    private String pcTemplateName = "pc端模板";

    /**
     * 栏目模板h5端id
     */
    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(value = "h5端栏目模板id", example = "12345646546")
    private Long h5TemplateId;

    /**
     * 父栏目id
     */
    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(value = "父栏目id", example = "12345679891")
    private Long parentId;

    /**
     * 是否需要审核(0不需要,1需要审核)
     */
    @ApiModelProperty(value = "是否需要审核(0不需要,1需要审核)", example = "1")
    private Integer verifyStatus;

    /**
     * 栏目模板 PC端文件路径
     */
    @ApiModelProperty(value = "栏目模板 PC端文件路径", example = "D:\\template")
    private String pcTemplateFilePath;

    /**
     * 栏目模板 H5端文件路径
     */
    @ApiModelProperty(value = "栏目模板 H5端文件路径", example = "D:\\template")
    private String h5TemplateFilePath;

    /**
     * 跳转地址
     */
    @ApiModelProperty(value = "跳转地址", example = "http：//xxxx.com/xxx")
    private String jumpUrl;

    /**
     * 每页条目数
     */
    @ApiModelProperty(value = "每页条目数", example = "6")
    private Integer pageLimit;

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getParentColumnName() {
        return parentColumnName;
    }

    public void setParentColumnName(String parentColumnName) {
        this.parentColumnName = parentColumnName;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Integer getNav() {
        return nav;
    }

    public void setNav(Integer nav) {
        this.nav = nav;
    }

    public String getEncoded() {
        return encoded;
    }

    public void setEncoded(String encoded) {
        this.encoded = encoded;
    }

    public Long getPcTemplateId() {
        return pcTemplateId;
    }

    public void setPcTemplateId(Long pcTemplateId) {
        this.pcTemplateId = pcTemplateId;
    }

    public String getH5TemplateName() {
        return h5TemplateName;
    }

    public void setH5TemplateName(String h5TemplateName) {
        this.h5TemplateName = h5TemplateName;
    }

    public String getPcTemplateName() {
        return pcTemplateName;
    }

    public void setPcTemplateName(String pcTemplateName) {
        this.pcTemplateName = pcTemplateName;
    }

    public Long getH5TemplateId() {
        return h5TemplateId;
    }

    public void setH5TemplateId(Long h5TemplateId) {
        this.h5TemplateId = h5TemplateId;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public Integer getVerifyStatus() {
        return verifyStatus;
    }

    public void setVerifyStatus(Integer verifyStatus) {
        this.verifyStatus = verifyStatus;
    }

    public String getPcTemplateFilePath() {
        return pcTemplateFilePath;
    }

    public void setPcTemplateFilePath(String pcTemplateFilePath) {
        this.pcTemplateFilePath = pcTemplateFilePath;
    }

    public String getH5TemplateFilePath() {
        return h5TemplateFilePath;
    }

    public void setH5TemplateFilePath(String h5TemplateFilePath) {
        this.h5TemplateFilePath = h5TemplateFilePath;
    }

    public String getJumpUrl() {
        return jumpUrl;
    }

    public void setJumpUrl(String jumpUrl) {
        this.jumpUrl = jumpUrl;
    }

    public Integer getPageLimit() {
        return pageLimit;
    }

    public void setPageLimit(Integer pageLimit) {
        this.pageLimit = pageLimit;
    }

    @Override
    public String toString() {
        return "ColumnItemVO{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", sort=" + sort +
                ", parentColumnName='" + parentColumnName + '\'' +
                ", type='" + type + '\'' +
                ", nav=" + nav +
                ", encoded='" + encoded + '\'' +
                ", pcTemplateId=" + pcTemplateId +
                ", h5TemplateName='" + h5TemplateName + '\'' +
                ", pcTemplateName='" + pcTemplateName + '\'' +
                ", h5TemplateId=" + h5TemplateId +
                ", parentId=" + parentId +
                ", verifyStatus=" + verifyStatus +
                ", pcTemplateFilePath='" + pcTemplateFilePath + '\'' +
                ", h5TemplateFilePath='" + h5TemplateFilePath + '\'' +
                ", jumpUrl='" + jumpUrl + '\'' +
                ", pageLimit=" + pageLimit +
                '}';
    }
}
